home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Games World / Top 12 Shareware / Mega Minesweeper / Documents ƒ / Plug - Ins ƒ / Plug-In Development < prev   
Text File  |  1999-12-03  |  3KB  |  112 lines

  1. Plug-In Development for Mega Minesweeper
  2.  
  3.  
  4. Updated: 12/03/99
  5. Build: 0.9.6
  6.  
  7.  
  8.  
  9.  
  10. Note: This file contains the instructions for constructing Mega Minesweeper plug - ins.  Theme plug-ins alter the graphical appearance of Mega Minesweeper.  Sound plug-ins alter the sound effects used in the game.  We will gladly distribute third party plug-ins with Mega Minesweeper, but we reserve the right to select which ones to use.  Please do not submit anything tastless or vulgar!
  11.  
  12.  
  13. Basics:
  14. - Themes alter the graphic appearance.  Comprised of 16-bit PICT resources, 'RGBs' resources, 'crsr' resources, and STR resources
  15.  
  16. - Sounds alter sound effects.  Comprised of 'snd ' PICT resources and STR resources
  17.  
  18. - "About plug - ins..." under the Apple Menu display information about the plug - in author (the information is contained in the STR resources).
  19.  
  20. - Plug - ins can be submitted for distribution w/ Mega Minesweeper.
  21.  
  22.  
  23. Color: Mega Minesweeper REQUIRES 16-bit color, so don't hold back on the colors!
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. Theme Plug - In Format:
  31.  
  32. File Type:
  33.  
  34. Creatory:         'Mégá'
  35. Type:                        'Plúg'
  36.  
  37.  
  38.  
  39. 'PICT' Resources
  40.  
  41. 200                Background pattern (above playing field)
  42. 500                New Game Button (6 buttons at 32x32 pixels: Up,Down,Disabled,Win,Lost,Shock/Suprise)
  43.  
  44.                                                                                                                                                                             Shock/Suprise is displayed when uncovering a field
  45.  
  46. 1000            Cover - Small (4 fields at 16x16: Covered,  Pressed Down, Flag, Question)
  47. 1001            Contain - Small (12 fields at 16x16: Empty, 1,2,...,8,Mine,Exploded Mine,Wrong Flag)
  48.  
  49. 2000            Cover - Medium (4 fields at 32x32)
  50. 2001            Contain - Medium (12 fields at 32x32)
  51.  
  52. 3000            Cover - Large (4 fields at 48x48)
  53. 3001            Contain - Large (12 fields at 48x48 )
  54.  
  55. 5000            Numbers - 13 (23x13 pixels: 0,1,2,...9,:,-,Empty/Faded)
  56. 5001            Stats Background (213x223 pixels - The text boxes MUST remain in the original place - see pict resource 5001 in Mega Minesweeper)
  57.  
  58. 10000        Paused - Any size picture: it will be scaled to fill most of the window.
  59.  
  60.  
  61. 'RGBs'    Resource (16-bit numbers in a Red, Green, Blue format - see TMPL in Default.rsrc)
  62.  
  63. 1000            Details the colors to be used in the Navigator window.  If not provided, the defaults will be used.
  64.                             { Covered Color, Uncovered Color, Flagged Color, Tracking Rect Color :: all are RGB colors }
  65.  
  66.  
  67. 'crsr'    Resource
  68.  
  69. 1000            Tracking cursor - used when selecting a field to uncover
  70. 1001            Flag cursor - used when selecting a field to flag/unflag
  71. 1002            Power cursor  - used when selecting field(s) to uncover via power clicking
  72.  
  73.  
  74.  
  75. 'STR ' Resources
  76. 1000            "Author Name" - your name
  77. 1001            "Title"    - the name of your plug-in to be displayed.
  78. 1002            "E-mail" - your e-mail address to be displayed
  79. 1003            "WWW" - your web page to be displayed
  80.  
  81.  
  82.  
  83.  
  84. Sounds Plug - In Format:
  85. File Type:
  86.  
  87. Creator:             'Mégá'
  88. Type:                     'Sóún'
  89.  
  90.  
  91. 'snd ' Resources
  92. 128                Uncover single field
  93. 129                Uncover multi fields (can be the same as single)
  94. 130                Flag field
  95. 131                Unflag field
  96. 132                Mine Exploded.  Lost.
  97. 133                Win game.
  98.  
  99.  
  100.  
  101. 'STR ' Resources
  102. 1000            "Author Name" - your name
  103. 1001            "Title"    - the name of your plug-in to be displayed.
  104. 1002            "E-mail" - your e-mail address to be displayed
  105. 1003            "WWW" - your web page to be displayed
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112. - Basically, just copy and paste your new resources onto one of the included plug-ins using ResEdit (or any other resource editor).  You'll get the hang of things quickly!